﻿using NUnit.Framework;

namespace Safal.IncidentTracker.Tests
{
    [TestFixture]
    public class OutboundRoutes
    {
        [Test]
        public void IncidentsEdit54_Produces_Incidents_Edit_54()
        {
            string url = UnitTestHelpers.GenerateUrlViaMocks(new {controller = "Incidents", action = "Edit", id = 54});
            Assert.That(url, Is.EqualTo("/Incidents/Edit/54"));
        }

        
    }
}
